find the perimeter